<div id="header">
    <div id="guest_bar">		
		<form name="frmLogIn" action="logincontroller.php" method="post">
			<div class="user_input">
					<div class="info">
					Tài khoản
					<br><input name="txtName" type="text" onblur="checkUsername()" value="<?php echo $_COOKIE["user_name"]?>"></input>				
					</div>
					<div class="info">
					Mật khẩu
					<br><input name="txtPass" type="password" onblur="checkPassword()" value="<?php echo $_COOKIE["user_pass"]?>"></input>				
					</div>
			</div>		
			<div class="register">
				<?php
					if($_COOKIE["chk_save"] == "on")
						$check = "checked='checked'";
					else
						$check = "";
				?>
				<input type="checkbox" name="chkSave" <?php echo $check?> >Ghi nhớ</input>
				<input style="margin-left:10px;" type="button" value="Đăng nhập" onclick="checkAccount()"></input>
				<a style="margin-left:20px;margin-right:10px;" href="../common/quenmatkhau.php">Quên mật khẩu</a><br/>							
				<a style="margin-left:200px;" href="../common/dangky.php">Đăng ký</a>
			</div>
		</form>
	</div>
</div>